package io.renren.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * 游戏房间
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2018-09-12 13:56:13
 */
@TableName("tb_room")
public class RoomEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 主建
	 */
	@TableId
	private Long id;
	/**
	 * 大厅ID
	 */
	private Long centerId;
	/**
	 * 房间名
	 */
	private String roomName;
	/**
	 * 人数限制
	 */
	private Integer personLimit;
	/**
	 * 当前在线人数
	 */
	private Integer personOnline;
	/**
	 * 是否为VIP房间
	 */
	private Integer isVip;
	/**
	 * 最小金额
	 */
	private Integer minAmount;
	/**
	 * 最大金额
	 */
	private Integer maxAmount;
	/**
	 * 允许发包数量 数量@赔率,数量@赔率
	 */
	private String packetQty;
	/**
	 * VIP 房间密码
	 */
	@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
	private String vipRoomPwd;
	/**
	 * VIP 房间管理员
	 */
	@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
	private Long vipMemberId;
	/**
	 * VIP 过期时间
	 */
	private Date vipExpireTime;
	/**
	 * 创建时间
	 */
	@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
	private Date createTime;
	/**
	 * 更新时间
	 */
	@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
	private Date updateTime;
	/**
	 * 启用状态 0:否 1:是
	 */
	@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
	private Integer status;
	/**
	 * 启用机器人 0:否 1:是
	 */
	@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
	private Integer enableRobot;
	/**
	 * 发包频率
	 */
	@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
	private Long robotSendRate;
	/**
	 * 抢包频率
	 */
	@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
	private Long robotGrabRate;
	/**
	 * 机器人的中雷概率
	 */
	@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
	private Integer robotLandmineRate;
	/**
	 * 会员中雷概率
	 */
	@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
	private Integer memberLandmineRate;
	/**
	 * 机器人数量
	 */
	@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
	private Integer robotQty;

	/**
	 * 最大盈利
	 */
	@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
	private Double profitLimit;
	/**
	 * 最大亏损
	 */
	@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
	private Double lossLimit;
	/**
	 * 设置时间点
	 */
	@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
	private Date pointTime;

	/**
	 * 设置：主建
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * 获取：主建
	 */
	public Long getId() {
		return id;
	}

	/**
	 * 设置：大厅ID
	 */
	public void setCenterId(Long centerId) {
		this.centerId = centerId;
	}

	/**
	 * 获取：大厅ID
	 */
	public Long getCenterId() {
		return centerId;
	}

	/**
	 * 设置：房间名
	 */
	public void setRoomName(String roomName) {
		this.roomName = roomName;
	}

	/**
	 * 获取：房间名
	 */
	public String getRoomName() {
		return roomName;
	}

	/**
	 * 设置：人数限制
	 */
	public void setPersonLimit(Integer personLimit) {
		this.personLimit = personLimit;
	}

	/**
	 * 获取：人数限制
	 */
	public Integer getPersonLimit() {
		return personLimit;
	}

	/**
	 * 设置：当前在线人数
	 */
	public void setPersonOnline(Integer personOnline) {
		this.personOnline = personOnline;
	}

	/**
	 * 获取：当前在线人数
	 */
	public Integer getPersonOnline() {
		return personOnline;
	}

	/**
	 * 设置：是否为VIP房间
	 */
	public void setIsVip(Integer isVip) {
		this.isVip = isVip;
	}

	/**
	 * 获取：是否为VIP房间
	 */
	public Integer getIsVip() {
		return isVip;
	}

	/**
	 * 设置：最小金额
	 */
	public void setMinAmount(Integer minAmount) {
		this.minAmount = minAmount;
	}

	/**
	 * 获取：最小金额
	 */
	public Integer getMinAmount() {
		return minAmount;
	}

	/**
	 * 设置：最大金额
	 */
	public void setMaxAmount(Integer maxAmount) {
		this.maxAmount = maxAmount;
	}

	/**
	 * 获取：最大金额
	 */
	public Integer getMaxAmount() {
		return maxAmount;
	}

	/**
	 * 设置：允许发包数量 数量@赔率,数量@赔率
	 */
	public void setPacketQty(String packetQty) {
		this.packetQty = packetQty;
	}

	/**
	 * 获取：允许发包数量 数量@赔率,数量@赔率
	 */
	public String getPacketQty() {
		return packetQty;
	}

	/**
	 * 设置：VIP 房间密码
	 */
	public void setVipRoomPwd(String vipRoomPwd) {
		this.vipRoomPwd = vipRoomPwd;
	}

	/**
	 * 获取：VIP 房间密码
	 */
	public String getVipRoomPwd() {
		return vipRoomPwd;
	}

	/**
	 * 设置：VIP 房间管理员
	 */
	public void setVipMemberId(Long vipMemberId) {
		this.vipMemberId = vipMemberId;
	}

	/**
	 * 获取：VIP 房间管理员
	 */
	public Long getVipMemberId() {
		return vipMemberId;
	}

	/**
	 * 设置：VIP 过期时间
	 */
	public void setVipExpireTime(Date vipExpireTime) {
		this.vipExpireTime = vipExpireTime;
	}

	/**
	 * 获取：VIP 过期时间
	 */
	public Date getVipExpireTime() {
		return vipExpireTime;
	}

	/**
	 * 设置：创建时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	/**
	 * 获取：创建时间
	 */
	public Date getCreateTime() {
		return createTime;
	}

	/**
	 * 设置：更新时间
	 */
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	/**
	 * 获取：更新时间
	 */
	public Date getUpdateTime() {
		return updateTime;
	}

	/**
	 * 设置：启用状态 0:否 1:是
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}

	/**
	 * 获取：启用状态 0:否 1:是
	 */
	public Integer getStatus() {
		return status;
	}

	/**
	 * 设置：启用机器人 0:否 1:是
	 */
	public void setEnableRobot(Integer enableRobot) {
		this.enableRobot = enableRobot;
	}

	/**
	 * 获取：启用机器人 0:否 1:是
	 */
	public Integer getEnableRobot() {
		return enableRobot;
	}

	public Long getRobotSendRate() {
		return robotSendRate;
	}

	public void setRobotSendRate(Long robotSendRate) {
		this.robotSendRate = robotSendRate;
	}

	public Long getRobotGrabRate() {
		return robotGrabRate;
	}

	public void setRobotGrabRate(Long robotGrabRate) {
		this.robotGrabRate = robotGrabRate;
	}

	public Integer getRobotLandmineRate() {
		return robotLandmineRate;
	}

	public void setRobotLandmineRate(Integer robotLandmineRate) {
		this.robotLandmineRate = robotLandmineRate;
	}

	public Integer getMemberLandmineRate() {
		return memberLandmineRate;
	}

	public void setMemberLandmineRate(Integer memberLandmineRate) {
		this.memberLandmineRate = memberLandmineRate;
	}

	public Integer getRobotQty() {
		return robotQty;
	}

	public void setRobotQty(Integer robotQty) {
		this.robotQty = robotQty;
	}

	public Double getProfitLimit() {
		return profitLimit;
	}

	public void setProfitLimit(Double profitLimit) {
		this.profitLimit = profitLimit;
	}

	public Double getLossLimit() {
		return lossLimit;
	}

	public void setLossLimit(Double lossLimit) {
		this.lossLimit = lossLimit;
	}

	public Date getPointTime() {
		return pointTime;
	}

	public void setPointTime(Date pointTime) {
		this.pointTime = pointTime;
	}
}
